//
//  CommonMacros.h
//  CommonProject
//
//  Created by dcr on 2017/8/23.
//  Copyright © 2017年 邓兆太. All rights reserved.
//

#ifndef CommonMacros_h
#define CommonMacros_h

#define XPadding 15
#define YPadding 30
#define kSpace 16
#define kTimeInterval 0.25

//界面配置
#define KBannerKey @"banner"
#define KSearchKey @"search bar"
#define KSearchBarPlaceholder @"Searching for something new"

#pragma mark - ——————— 用户相关 ————————
//登录状态改变通知
#define KNotificationLoginStateChange @"loginStateChange"

//自动登录成功
#define KNotificationAutoLoginSuccess @"KNotificationAutoLoginSuccess"

//被踢下线
#define KNotificationOnKick @"KNotificationOnKick"

//用户信息缓存 名称
#define KUserCacheName @"KUserCacheName"

//用户model缓存
#define KUserModelCache @"KUserModelCache"

#pragma mark - ——————— 网络状态相关 ————————
//网络状态变化
#define KNotificationNetWorkStateChange @"KNotificationNetWorkStateChange"

#endif /* CommonMacros_h */
